class CreateBookmarks < ActiveRecord::Migration
  def self.up
    create_table :bookmarks do |t|
      t.string :description
      t.integer :book_id
      t.integer :page_id
      t.integer :position
      t.float   :x
      t.float   :y
      t.float   :width
      t.float   :height

      t.timestamps
    end
  end

  def self.down
    drop_table :bookmarks
  end
end
